Skip to content

Instantly share code, notes, and snippets.

@sts10
sts10 / rust-command-line-utilities.markdown
Last active September 30, 2026 22:22
A curated list of command-line utilities written in Rust

A curated list of command-line utilities written in Rust

Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.

Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.

The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.

  • atuin: "Magical shell history"
  • bandwhich: Terminal bandwidth utilization tool
@Enichan
Enichan / spherize.fx
Last active September 30, 2026 22:22
HLSL Spherize shader function identical to Photoshop's spherize distortion filter
#ifndef PI
#define PI 3.14159265359
#endif
// adapted from https://www.shadertoy.com/view/WstfzH
float2 SpherizeOriginal(float2 uv, float2 center, float radius) {
float2 delta = uv - center;
if (delta.x == 0 && delta.y == 0) return uv;
float dist = length(delta);
@Super-Genius
Super-Genius / AGENTS.md
Created September 30, 2026 17:51
Markdown for AGENTS.md or CLAUDE.md that make them way better in writing C++ code

C++ Engineering Constraints

These are design constraints, not a checklist.

The GNUS C++ Coding Standards are authoritative for C++ syntax, naming, layout, language use, class design, error handling, file layout, includes, platform abstraction, and tooling. Do not override them with a general design principle or a local preference.

When two design principles conflict, choose the option that creates the lowest future cost in this repository while preserving correctness, clarity, and the existing architecture.

Core rule: refactor first, then change behavior

@fstorr
fstorr / how-to-get-speech-output-as-text-from-screen-readers.md
Last active September 30, 2026 22:13
How to get speech output as text from screen readers

How to get speech output as text from screen readers

Sometimes you need text, rather than voice, output from screen readers. Why? It's really useful for bug reports ("this disclosure icon is announced as 'black dash triangle dash filled dash x2 underscore final dot png' and needs alt text"). Luckily, getting this text is easy to do.

VoiceOver on MacOS

In VoiceOver you press Option + Control + Shift + C to have the last item that was announced copied to the clipboard. Bonus feature: pressing Option + Control + Shift + Z to save the last phrase to the desktop as an audio file.

VoiceOver on iOS

A three-finger quadruple tap copies the last announcement to the clipboard.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active September 30, 2026 22:12
Complete Recent Discord Quest

Caution

As of August 26th 2026, Discord has started suspending quest access of people caught automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you WILL get flagged by doing so.

Complete Recent Discord Quest

@ocombe
ocombe / README.md
Last active September 30, 2026 22:13
ChatGPT Conversation Exporter — export all your conversations as JSON + Markdown + ZIP. No dependencies beyond bash, curl, python3.

ChatGPT Conversation Exporter

Export all your ChatGPT conversations as JSON + Markdown + HTML + ZIP. Works with ChatGPT Business/Team/Enterprise accounts (including SSO/Okta).

What's exported

  • JSON — Raw conversation data from the API
  • Markdown — Clean text with headers per message, relative links to downloaded files
  • HTML — ChatGPT-style conversation viewer with sidebar navigation, syntax-highlighted code blocks, and embedded images
@black1277
black1277 / CallCommand.md
Created March 29, 2024 22:30
Большая часть команд из Cinema 4D R23 которые можно вызвать как c4d.CallCommand(ID)

Если не все (1894 - всего), то большая часть команд из Cinema 4D R23.

Некоторым командам требуется второй аргумент, например для создания тега на объекте - второй аргумент это тип создаваемого тега. Пример:

  # первый аргумент - создать тег, второй - тег композитинга
  c4d.CallCommand(100004788, 50044)
ID Название команды Описание команды

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.